package com.csap.framework.oauth2.request;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.oauth2.BaseRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Set;

/**
 * 用户角色操作
 *
 * @Author ycf
 * @Date 2023/2/27 14:46
 * @Version 1.0
 */
@ApiModel("用户角色操作")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UserRolesRequest extends BaseRequest<UserRolesRequest> {
    @ApiModelProperty("角色")
    private Set<Long> roles;
    @ApiModelProperty("openId")
    private String openId;
    @ApiModelProperty("类型")
    private Integer type;
    @ApiModelProperty("类型ID")
    private String typeId;
}
